package code.structure.module.scene.view.iso
{
	import code.untils.ItemTypeConst;

	/**
	 *墙 
	 * @author Yuri
	 * 
	 */
	public class WallIsoObject extends DecorateIsoObject
	{
		private var _attachedMuralList:Array;
		private var _isCanAttach:Boolean = true;
		public function WallIsoObject()
		{
			super();
			attachedMuralList = [];
		}

		override protected function refresh():void{
//			if(data.data.itemType == ItemTypeConst.SUNK_FENCE){ //矮墙不可以依附
//				isCanAttach = false;
//			}
			super.refresh();
		}
		
		/**
		 *附带墙上装饰 
		 */
		public function get attachedMuralList():Array
		{
			return _attachedMuralList;
		}

		/**
		 * @private
		 */
		public function set attachedMuralList(value:Array):void
		{
			_attachedMuralList = value;
		}

		/**
		 *是否可以依附 
		 */
		public function get isCanAttach():Boolean
		{
			return _isCanAttach;
		}

		/**
		 * @private
		 */
		public function set isCanAttach(value:Boolean):void
		{
			_isCanAttach = value;
		}


	}
}